home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Aventura
/
polarrescue.swf
/
scripts
/
frame_13
/
PlaceObject2_177_9
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2006-05-23
|
367 b
|
17 lines
onClipEvent(enterFrame){
counter++;
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
totTime = getTimer() - startTime;
perc = loaded / total * 100;
if(counter < perc / 5)
{
perc = counter * 5;
}
bar._xscale = perc;
if(loaded >= total and counter >= 20)
{
_parent.gotoAndStop("done");
}
}